package com.lwlk.zdk.mapper.pw;

import com.lwlk.zdk.model.pw.pwLoginTime;
import com.lwlk.zdk.model.pw.pwLoginTimeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface pwLoginTimeMapper {
    int countByExample(pwLoginTimeExample example);

    int deleteByExample(pwLoginTimeExample example);

    int deleteByPrimaryKey(String sessionId);

    int insert(pwLoginTime record);

    int insertSelective(pwLoginTime record);

    List<pwLoginTime> selectByExample(pwLoginTimeExample example);

    pwLoginTime selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") pwLoginTime record, @Param("example") pwLoginTimeExample example);

    int updateByExample(@Param("record") pwLoginTime record, @Param("example") pwLoginTimeExample example);

    int updateByPrimaryKeySelective(pwLoginTime record);

    int updateByPrimaryKey(pwLoginTime record);

    int selectOne(@Param("sessionId") String sessionId);

    int updateLoginTime(pwLoginTime pwLoginTime);

    List<Map<String, Object>> selectPlatform(@Param("sessionId") String sessionId);
}